before:
  hooks:
    - go mod tidy
builds:
  - id: alr-updater
    env:
      - CGO_ENABLED=0
    binary: alr-updater
    goos:
      - linux
    goarch:
      - amd64
      - 386
      - arm64
      - arm
      - riscv64
archives:
  - id: archive
    name_template: "{{ .ProjectName }}-{{ .Arch }}"
    files:
    - alr-updater.example.toml
blobs:
  - provider: s3
    endpoint: https://api.minio.elara.ws
    region: default
    bucket: alr-updater
    ids:
      - archive
    folder: "/"
release:
  gitea:
    owner: alr
    name: alr-updater
gitea_urls:
  api: 'https://gitea.elara.ws/api/v1/'
  download: 'https://gitea.elara.ws'
  skip_tls_verify: false
checksum:
  name_template: 'checksums.txt'
snapshot:
  name_template: "{{ incpatch .Version }}-next"
changelog:
  sort: asc